package com.aos.erp.schools.model.coach.Dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: erp
 * @description: 教练关联车辆
 * @author: tanzhiyu
 * @create: 2018-11-12 14:03
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("教练关联车辆")
public class CoachCarDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="主键ID",hidden=true)
    private String id;

    @ApiModelProperty("教练ID")
    private String coachId;

    @ApiModelProperty("教练名称")
    private String coachName;

    @ApiModelProperty("教练证件号码")
    private String idnum;

    @ApiModelProperty("车辆ID")
    private String carId;

    @ApiModelProperty("车牌号")
    private String  carNumbers;

    @ApiModelProperty("驾校组织code")
    private  String depCode;

    @ApiModelProperty(value = "是否删除（0：否    1：是）",hidden=true)
    private Integer isDel;

    @ApiModelProperty(value = "创建时间",hidden=true)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("created")
    private Date created;

    @ApiModelProperty(value = "修改时间",hidden=true)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField("updated")
    private Date  updated;
}
